﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using PMPUtils.Form;
using PMPUtils.Resources;

namespace PMP.Management
{
    public partial class Dashboard : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            FormUtil.AuthenticateLead(Session, Response);
        }

        protected void btnMOMManagement_Click(object sender, EventArgs e)
        {
            PopupForm MoMManagement = new PopupForm(Response, "MOM.aspx", "MOM", "1100", "800", "50", "100");
            MoMManagement.Popup();

            Close();
        }

        private void Close()
        {
            PopupForm thisForm = new PopupForm(Response);
            thisForm.Close();
        }
    }
}
